package com.ck.ips.model.vo;

/**
 * @description: 设备广告数量详情
 * @author: zhanglei
 * @date: 2020/5/21 11:26
 */
public class DeviceProgramInfoVO {
    /**
     * 设备唯一标识符
     */
    private String deviceCode;
    /**
     * 设备终端组
     */
    private String deviceGroupName;
    /**
     * 设备名称
     */
    private String deviceName;
    /**
     * 设备mac地址
     */
    private String deviceMac;
    /**
     * 设备在线状态
     */
    private Integer deviceStatus;
    /**
     * 设备状态str
     */
    private String deviceStatusStr;
    /**
     * 设备广告数量
     */
    private Integer programCount;

    /**
     * 设备序列号
     */
    private String deviceSerialNum;

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getDeviceGroupName() {
        return deviceGroupName;
    }

    public void setDeviceGroupName(String deviceGroupName) {
        this.deviceGroupName = deviceGroupName;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceMac() {
        return deviceMac;
    }

    public void setDeviceMac(String deviceMac) {
        this.deviceMac = deviceMac;
    }

    public Integer getDeviceStatus() {
        return deviceStatus;
    }

    public void setDeviceStatus(Integer deviceStatus) {
        this.deviceStatus = deviceStatus;
    }

    public Integer getProgramCount() {
        return programCount;
    }

    public void setProgramCount(Integer programCount) {
        this.programCount = programCount;
    }

    public String getDeviceStatusStr() {
        if(0==deviceStatus){
            return "在线";
        }else{
            return "离线";
        }
    }

    public void setDeviceStatusStr(String deviceStatusStr) {
        this.deviceStatusStr = deviceStatusStr;
    }

    public String getDeviceSerialNum() {
        return deviceSerialNum;
    }

    public void setDeviceSerialNum(String deviceSerialNum) {
        this.deviceSerialNum = deviceSerialNum;
    }
}
